<div class="input-group col-xs-12">
    <input class="form-control" ng-model="model[options.key]">
    <span ng-if="to.btn" class="input-group-btn">
        <button class="btn bg-azure"
                ng-click="options.templateOptions['onClick']('lg', options, options.templateOptions.modal, $event ,model);"
                type="button">{{to.btn.label}}<i class="{{to.btn.icon}}"></i></button>
    </span>
</div>